package com.liveneo.adapter.base.mapper;

import com.liveneo.adapter.base.entity.PrpmLossInjured;
import com.liveneo.adapter.base.entity.PrpmLossInjuredExample;
import com.liveneo.adapter.base.support.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 人员伤亡信息 映射器的接口
 * 依赖配置文件：PrpmLossInjuredMapper.xml
 * 
 * @author fucy
 * @since 2016-06-05
 */
public interface PrpmLossInjuredMapper extends BaseMapper<PrpmLossInjured> {
    int countByExample(PrpmLossInjuredExample example);

    int deleteByExample(PrpmLossInjuredExample example);

    List<PrpmLossInjured> selectByExample(PrpmLossInjuredExample example);

    int updateByExampleSelective(@Param("record") PrpmLossInjured record, @Param("example") PrpmLossInjuredExample example);

    int updateByExample(@Param("record") PrpmLossInjured record, @Param("example") PrpmLossInjuredExample example);

    List<PrpmLossInjured> selectByLossUuid(String lossUuid);

    List<PrpmLossInjured> selectByCaseUuid(String caseUuid);

    List<PrpmLossInjured> selectByCaseNo(String caseNo);

    PrpmLossInjured getByLossUuid(String lossUuid);
}